package cn.wolfcode.ssm.query;

import lombok.Getter;
import lombok.Setter;

@Getter@Setter
public class QueryObject {
    private int currentPage = 1;
    private int pageSize = 5;

    private String keyword;

    public String getKeyword(){
        return keyword != null && keyword.trim().length() > 0 ? keyword : null;
    }
}
